<nz-spin [nzSpinning]="isSpinning">
  <form nz-form [formGroup]="validateForm" (ngSubmit)="submitForm($event)">
    <div nz-form-item nz-row>
      <div nz-form-label nz-col [nzSpan]="6">
        <label nz-form-item-required for="beCkedPartyName">单位名称</label>
      </div>
      <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback [nzValidateStatus]="getFormControl('beCkedPartyName')">
        <nz-input [nzSize]="'large'" formControlName="beCkedPartyName" [nzPlaceHolder]="'单位名称'" [nzType]="'beCkedPartyName'" [nzId]="'beCkedPartyName'"
                  [(ngModel)]="planDetailBean.beCkedPartyName"></nz-input>
        <div nz-form-explain *ngIf="getFormControl('beCkedPartyName').dirty&&getFormControl('beCkedPartyName').hasError('required')">单位名称不能为空!</div>
      </div>
    </div>

    <div nz-form-item nz-row>
      <div nz-form-label nz-col [nzSpan]="6">
        <label nz-form-item-required for="bePartyType">单位类型</label>
      </div>
      <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback [nzValidateStatus]="getFormControl('bePartyType')">

         <nz-input [nzSize]="'large'" formControlName="bePartyType" [nzPlaceHolder]="'单位类型'" [nzType]="'bePartyType'" [nzId]="'bePartyType'"
                  [(ngModel)]="planDetailBean.bePartyType"></nz-input>
      
        <div nz-form-explain *ngIf="getFormControl('bePartyType').dirty&&getFormControl('bePartyType').hasError('required')">单位类型不能为空!</div>
      </div>
    </div>
   
    <div nz-form-item nz-row>
      <div nz-form-label nz-col [nzSpan]="6">
        <label nz-form-item-required for="rsponPartyName">牵头单位</label>
      </div>
      <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback [nzValidateStatus]="getFormControl('rsponPartyName')">
        <nz-input [nzSize]="'large'" formControlName="rsponPartyName" [nzPlaceHolder]="'请输入牵头单位'" [nzType]="'rsponPartyName'" [nzId]="'rsponPartyName'"
                  [(ngModel)]="planDetailBean.rsponPartyName"></nz-input>
        <div nz-form-explain *ngIf="getFormControl('rsponPartyName').dirty&&getFormControl('rsponPartyName').hasError('required')">牵头单位不能为空!</div>
      </div>
    </div>

    <div nz-form-item nz-row>
      <div nz-form-label nz-col [nzSpan]="6">
        <label for="checkReson" >检查原因</label>
      </div>
      <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback [nzValidateStatus]="getFormControl('checkReson')">
        <nz-input [nzSize]="'large'" formControlName="checkReson" [nzPlaceHolder]="'请输入检查原因'" [nzType]="'checkReson'" [nzId]="'checkReson'"
                  [(ngModel)]="planDetailBean.checkReson"></nz-input>
        <div nz-form-explain *ngIf="getFormControl('checkReson').dirty&&getFormControl('checkReson').hasError('required')">检查原因不能为空!</div>
      </div>
    </div>

    <div nz-form-item nz-row>
      <div nz-form-label nz-col [nzSpan]="6">
        <label for="adjReason" >调整原因</label>
      </div>
      <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback [nzValidateStatus]="getFormControl('adjReason')">
        <nz-input [nzSize]="'large'" formControlName="adjReason" [nzPlaceHolder]="'请输入调整原因'" [nzType]="'adjReason'" [nzId]="'adjReason'"
                  [(ngModel)]="planDetailBean.adjReason"></nz-input>
        <div nz-form-explain *ngIf="getFormControl('adjReason').dirty&&getFormControl('adjReason').hasError('required')">调整原因不能为空!</div>
      </div>
    </div>

    <div nz-form-item nz-row>
      <div nz-form-label nz-col [nzSpan]="6">
        <label for="time">调整到时间</label>
      </div>
      <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback>
         <nz-datepicker formControlName="adjDate" [nzSize]="'large'" [nzFormat]="'YYYY-MM-DD'" [(ngModel)]="planDetailBean.adjDate"
          name="adjDate" [nzPlaceHolder]="'调整到时间'"></nz-datepicker>
      </div>
    </div>
    
    <div nz-form-item nz-row style="margin-bottom:8px;">
      <div nz-form-control nz-col [nzSpan]="14" [nzOffset]="10">
        <button nz-button [nzSize]="'large'" [nzType]="'primary'">修改</button>
      </div>
    </div>
  </form>
</nz-spin>
